package demo.combination;


/**
 * @author : feixiang.li
 * @since : 2025-09-17 14:36
 */
public class Main {


    public static void main(String[] args) {
        String s = "(123+(3-1))*6/2";
        String express = s;
        ExpressParser expressParser = new ExpressParser(express);
        Expression expression = expressParser.parse();
        System.out.println(expression.getValue());
        System.out.println((123 + (3 - 1)) * 6 / 2);

    }
}
